import { createApp } from 'vue'
import App from './App.vue'
import 'lib-flexible/flexible'
import './assets/main.css'
import router from './router'

import {AddressList,SubmitBar,Stepper, Checkbox, CheckboxGroup, Button, NavBar, Icon, Form, Field, CellGroup, Skeleton, Tabbar, TabbarItem, ActionBar, ActionBarIcon, ActionBarButton, SwipeCell, Card } from 'vant';
import { Swipe, SwipeItem } from 'vant';
import 'vant/lib/index.css';
import  {createPinia} from 'pinia';
const app = createApp(App)
app.use(createPinia())  //pinia生效
app.use(router)
app.use(Button)
app.use(NavBar)
app.use(Icon)
app.use(Form)
app.use(Field)
app.use(CellGroup)
app.use(Swipe);
app.use(SwipeItem);
app.use(Skeleton);
app.use(Tabbar);
app.use(TabbarItem);
app.use(ActionBar);
app.use(ActionBarIcon);
app.use(ActionBarButton);
app.use(SwipeCell);
app.use(Card);
app.use(Checkbox);
app.use(CheckboxGroup);
app.use(Stepper);
app.use(SubmitBar);

app.use(AddressList);



app.mount('#app')




